package com.wuzu.ecommerce.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 物流模板表(Logistics)实体类
 *
 * @author jsm
 * @since 2023-03-26 17:23:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_logistics")
public class Logistics implements Serializable {
    private static final long serialVersionUID = 351728427628485511L;

    /**
     * 序号，id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 运费名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 发货地址
     */
    @TableField(value = "shipping_address")
    private String shippingAddress;

    /**
     * 是否包邮
     */
    @TableField(value = "isshipping")
    private Integer isshipping;

    /**
     * 包邮城市
     */
    @TableField(value = "shipping_city")
    private String shippingCity;

    /**
     * 不包邮城市
     */
    @TableField(value = "noshipping_city")
    private String noshippingCity;

    /**
     * 计费规则（按件计费，按重量计费，到付）
     */
    @TableField(value = "charging_role")
    private Integer chargingRole;

    /**
     * 费用
     */
    @TableField(value = "cost")
    private Object cost;
}
